<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>简易的状态管理方案</title>
</head>

<body>
  <div>
    <h1>之前组件通信方式的问题</h1>
    <p>1.多个视图依赖同一个状态</p>
    <p>2.来自不同视图的行为需要变更同一状态</p>
  </div>
  <script>
  </script>
</body>

</html>